package io.github.yotta.export.web.autoconfiguration;

import io.github.yotta.export.core.provider.MinioFileProviderProperties;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;

/**
 * @author yotta
 * @date 2025/4/27
 */
@Data
@ConfigurationProperties(prefix = "yotta.data-export")
public class DataExportProperties {

    private String baseDir = System.getProperty("user.home");

    private String fileStorageType = "local";

    @NestedConfigurationProperty
    private MinioFileProviderProperties minio;

    private Boolean enableWeb = true;
}
